<?php
header('Content-type:text/html; charset=gbk');
$path = 'C:\Documents and Settings\quanhengzhuang\Local Settings\Temporary Internet Files';


$files = scandir($path);

foreach ($files as $key => &$file) {
	if($file === '.' || $file === '..') {
		unset($files[$key]);
	}
}

foreach ($files as $file) {
	echo $filePath = $path.'/'.$file;
}